let api = {}
const pre = '/api/v1'

api.login = '/api/login'

/* 车队*/
api.team = {
    findAppTeamList: pre + '/autoteam/findAppTeamList',
    appCalc: pre + '/autoteam/appCalc',
    /* 车辆*/
    appCarList: pre + '/auto/appCarList',
    appCarInfo: pre + '/auto/appCarInfo',
    /* 司机*/
    trucker: pre + '/trucker'
}
/* 订单记录*/
api.orderRecord = {
    page: pre + '/orderRecord/page'
}
/* 日报、周报、月报*/
api.reportIndex = {
    apprpt: pre + '/apprpt',
    count: pre + '/apprpt/count'

}
/* 消息*/
api.message = {
    list: pre + '/tmnlWarn/teamWarn'
}

/* 意见反馈*/
api.suggest = {
    feedback: pre + '/suggest'
}

/* 账户 */
api.account = {
    accountFlow: pre + '/account/accountFlow',
    accountInfo: pre + '/account/accountInfo'
}
/* 余额 */
api.fund = {
    accountInfo: pre + '/account/accountInfo',
    accountVehicle: pre + '/account/accountVehicle'
}

export default api
